package com.sc.nft.entity.vo.ecologypool;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.sc.nft.enums.ecologypool.EcologyPoolRedPackOpenEnum;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;


@Data
public class WebEcologyPoolRedPackDetailVO implements Serializable {

    @ApiModelProperty("名称")
    private String name;

    @ApiModelProperty("奖励")
    private String reward;

    @ApiModelProperty("红包总量")
    private Long packNumber;

    @ApiModelProperty("剩余红包数量")
    private Long residuePackNumber;

    @ApiModelProperty("开始时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date startTime;

    @ApiModelProperty("结束时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date endTime;

    @ApiModelProperty("活动规则")
    private String activeRule;

    @ApiModelProperty("参与条件")
    private String participate;

    @ApiModelProperty("个人参与次数")
    private Integer participateNumber;

    @ApiModelProperty("已参与次数")
    private Integer alreadyParticipateNumber;

    @ApiModelProperty("活动状态")
    private EcologyPoolRedPackOpenEnum status;

}
